import { Tabs } from "antd";
import HideUser from "./hide_user";
import DataStatistics from "./data_statistics";
import "./index.less";

const { TabPane } = Tabs;

function callback(key: string): void {
  console.log(key);
}

const BatchAddUser = () => {
  return (
    <div className="BatchAddUser w-full h-full">
      <Tabs onChange={callback} className="h-full">
        <TabPane tab="潜在客户" key="1">
          <HideUser />
        </TabPane>
        <TabPane tab="数据统计" key="2">
          <DataStatistics />
        </TabPane>
      </Tabs>
    </div>
  );
};

export default BatchAddUser;
